package test.com.linkgie.galaxyframework.binaryserialize;

import com.linkgie.galaxyframework.binaryserialize.BinaryField;
import com.linkgie.galaxyframework.binaryserialize.BinaryType;
import com.linkgie.galaxyframework.binaryserialize.PrimitiveType;
import com.linkgie.galaxyframework.utils.TextEncoding;

/**
 * BytesValue is the base structure of Value in Blockchain Account;
 * 
 * @author huanghaiquan
 *
 */
@BinaryType(code = Base58TextValue.BYTES_VALUE)
public interface Base58TextValue {
	
	public static final int BYTES_VALUE = 10217;

	/**
	 * 文本值的二进制序列；
	 * 
	 * @return
	 */
	@BinaryField(index = 1, primitiveType = PrimitiveType.TEXT, textEncoding = TextEncoding.BASE58)
	String getText();
	
}
